package org.sn.jdish.spring.springboot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * springboot应用启动
 * 
 * @author snzigod@hotmail.com
 */
@SpringBootApplication
@EnableAsync
public class App {

	public static void main(String[] args) throws Exception {
		// 程序启动入口
		// 启动嵌入式的 Tomcat 并初始化 Spring 环境及其各 Spring 组件
		SpringApplication.run(App.class, args);
	}

}
